package com.cn.stack;

public class Main {
	
	public static void main(String args[]){
		Solution ss=new Solution ();
		for(int i=0;i<10;i++){
			ss.push(i);
		}
		while(!ss.isEmpty()){
			System.out.print(ss.pop()+" ");
		}
	}

}
